<template>
	<view class="flex-col page">
		<!-- <uni-nav-bar title="" backgroundColor="white"></uni-nav-bar> -->
		<view class="search_wrapper" style="position: sticky;top: 0;z-index: 1;">
			<!-- 	<view class="left">
				<text>综合排名</text>
				<u-icon name="arrow-down"  size="18"></u-icon>
			</view>
			<view class="right">
				<text>筛选</text>
				<u-icon name="arrow-down"  size="18"></u-icon>
			</view> -->
			<ren-dropdown-filter :filterData='filterData' :defaultIndex='defaultIndex' @onSelected='ed'
				@dateChange='dateChange'></ren-dropdown-filter>

		</view>
		<view class="flex-col section_1">

		</view>
		<view class="flex-col list">
			<u-skeleton rows="10" :loading="loading" :title="false" rowsHeight="110" style="margin-top: 30rpx;">
			</u-skeleton>

			<view class="list-item justify-center" :key="i" v-for="(item, i) in dataList"
				style="flex-shrink:0; flex-direction: column;">

				<view class="box">
					<view class="sbox-l" @click="goPath(item.tid)">
						<image :src="item.avatar" mode=""></image>
						<view class="status">
							<text>在线</text>
						</view>
					</view>
					<view class="sbox-c" @click="addOrder(item)">
						<view class="sbox-c1">
							<text class="text-1">{{ item.nickname }}</text>
							<view class="real">
								<text>实名</text>
							</view>
						</view>
						<view class="rate">
							<text class="text-2">评分:</text>
							<u-rate :value="item.grade" activeColor='#FEB04E' disabled></u-rate>
						</view>

					</view>
					<view class="sbox-r">
						<u-icon name="map" color="#999" size="18"></u-icon>
						<text class="text-3">{{(item.distance/1000).toFixed(2) }}km</text>
					</view>
				</view>

				<view class="introduce">
					<text>{{item.intro}}</text>
				</view>

				<!-- <view class="left-section flex-col items-center" @click="henderBig1(item.avatar)" :style="{'backgroundImage': `url(${item.avatar})`}">
					<image
						v-if="item.new"
						src="../../static/my/tnew.png"
						class="image_5" />
					<view class="flex-col items-center text-wrapper" v-if="item.appointment_time !== '休息中'">
						<text>可预约</text>
					</view>
					
					<view class="pos" v-if="item.appointment_time == '休息中'">
						休息中
					</view>
				</view>
				<view class="center-group flex-col">
					<view class="group_4 flex-row">
						<text class="text-name">{{ item.realname }}</text>
						<view class="text-ger" @click="henderBig(item.album)">
							更多照片
						</view>
					</view>
					<view class="group_5 flex-row">
						<u-icon name="star-fill" color="#FE5D4F" size="18"></u-icon>
						<text>{{ item.praise }}</text>
						<text style="margin-left: 10rpx; color: #999;">已服务：{{item.order_number}}单</text>
					</view>
					<view class="group_7 flex-row">
						
						<image
							src="../../static/my/z1.png"
							class="image_15" @click="goQualifications()"/>
						<text class="text_14 text_15">商家</text>
						<image
							src="../../static/my/z2.png"
							class="image_15"  @click="goComment(item)"/>
						<text class="text_14 text_15">{{ item.comment }}</text>
						<image
							src="../../static/my/z3.png"
							class="image_17" @click="changeCollect(item.id,item.collect)" />
						<text class="text_16 text_17" >{{ item.collect_number }}</text>
					</view>
				</view>
				<view class="right-group flex-col">
					<view class="top-text-wrapper flex-col items-center" :class="item.appointment_time == '休息中' ? 'opacity-0':''">
						<text>可约{{ item.appointment_time }}</text>
					</view>
					<view class="km">
						<u-icon name="map-fill" color="#55D29A" size="18"></u-icon>
						<text>{{ item.distance }}km</text>
					</view>
					<view class="bottom-text-wrapper flex-col items-center" @click="addOrder(item)" :class="item.appointment_time == '休息中'? 'gayer':''" >
						<text>选择达人</text>
					</view>
				</view> -->
			</view>
		</view>
		<!-- <u-overlay :show="show4" opacity='1' @click="show4 = false">
			<view class="warp">
				<view class="rect1" @tap.stop>
					<image :src="hender1" mode=""></image>
				</view>
			</view>
		</u-overlay> -->
		<u-overlay :show="show" opacity='1' @click="show = false">
			<view class="warp">
				<view class="donw" @click="show = false">
					<u-icon name="close" color="red" size="32"></u-icon>
				</view>
				<view class="rect" @tap.stop>
					<u-swiper :list="hender" height='400'></u-swiper>
				</view>
			</view>
		</u-overlay>
	</view>
</template>

<script>
	import tmSkeleton from '@/tm-vuetify/components/tm-skeleton/tm-skeleton.vue'
	// 后台没有数据就引入xer.vue  ，后台接口给出数据就引入index.vue
	// import zNo from '@/components/z-no/index.vue'
	import zNo from '@/components/z-no/xer.vue'
	export default {
		data() {
			return {
				listbJVHRZ5E: [],
				latitude: '',
				longitude: '',
				value: '',
				dataList: [],
				total: null,
				loading: true,
				page: 1,
				city: "",
				local: 0,
				show: false,
				show1: false,
				artist: [],
				items: [],
				hender: '',
				hender1: '',
				show2: false,
				show4: false,
				commentList: [],
				count: 5,
				filterData: [
					[{
						text: '综合排名',
						value: '综合排名'
					}, {
						text: '人气排名',
						value: '人气排名'
					}, {
						text: '离我最近',
						value: '离我最近'
					}],
					[{
						text: '性别',
						value: ''
					}, {
						text: '男',
						value: '男'
					}, {
						text: '女',
						value: '女'
					}]
				],
				defaultIndex: [0, 0]

			};
		},
		components: {
			tmSkeleton,
			zNo
		},
		onReachBottom() {
			if (this.total === this.dataList.length) {
				return;
			}
			this.page++;
			this.init();
		},

		onLoad() {
			this.dataList = []

			this.getLat();
			/* if (location.href.indexOf('code') == -1&&!uni.getStorageSync('openid')) {
				this.getLogin ()
			} */

		},

		methods: {
			ed(res) {
				console.log(res[0][0].value, '898989')
				this.dataList = []
				this.init(res[0][0].value, res[1][0].value)
			},
			dateChange(d) {
				/* uni.showToast({
					icon: 'none',
					title: d
				}) */
				console.log('1111');
			},

			goag(url) {
				uni.navigateTo({
					url,
				})
			},
			getLogin() {

				let baseurl = ''
				if (process.env.NODE_ENV === 'development') {
					baseurl = 'https://play.bozhoukeji.cn/h5'; // 这里做一下转译，要不然微信会忽略到#后面的参数
				} else {
					baseurl = location.origin; // 这里做一下转译，要不然微信会忽略到#后面的参数
				}
				let redirectURL = encodeURIComponent(
					(
						baseurl +
						window.location.pathname +
						window.location.hash
					).split("&code")[0]
				); //获取地址
				console.log(redirectURL, '8998');

				const base = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=";
				let appid = 'wxf9eec50de3085fff'; //应用授权作用域
				let scope = "snsapi_userinfo";

				window.location.href =
					base +
					appid +
					"&redirect_uri=" +
					redirectURL +
					"&response_type=code&scope=" +
					scope +
					'&state=' + encodeURIComponent(location.origin) +
					"#wechat_redirect";
			},
			henderBig1(hender) {
				this.hender1 = hender
				this.show4 = true
			},
			henderBig(hender) {
				this.hender = hender
				this.show = true
			},
			open1() {

			},
			close1() {
				this.show2 = false

			},

			open() {

			},
			close() {
				this.show1 = false

			},
			addOrder(item) {
				if (item.appointment_time == '休息中') {
					uni.showToast({
						title: '该达人正在休息中',
						icon: 'none'
					})
					return
				}

				uni.navigateTo({
					url: '/bundle/pages/techDeil/techDeil?id=' + item.tid
				})


			},
			goComment(item) {
				this.artist = item
				this.$http.post('api/technician/comment', {
					id: item.id
				}).then(res => {
					this.commentList = res
					console.log(this.commentList, '******');
				})
				this.show2 = true
			},
			goConfirm(id, service_id) {
				let order_info = {
					spec_id: '',
					service_id: '',
					technician_id: ''
				}
				console.log(order_info, "errors")
				order_info.spec_id = id;
				order_info.service_id = service_id;
				order_info.technician_id = this.artist.id;
				uni.setStorageSync('order_info', order_info);
				uni.navigateTo({
					url: `/pages/confirm_order/confirm_order?id=${this.artist.id}`
				})
			},


			getLat() {
				let _this = this
				uni.getLocation({
					altitude: false,
					geocode: true,
					type: 'gcj02',
					success: (res) => {
						console.log(res, "打印的res值获取city")
						_this.local = 1
						let {
							latitude,
							longitude,
							address
						} = res;
						if (!address) {
							address = {}
						}
						address.longitude = longitude;
						address.latitude = latitude;
						let wz = uni.getStorageSync('address_info')
						uni.setStorageSync('address_info', address)

						_this.Dzarr(longitude, latitude)

						_this.latitude = address.latitude;
						_this.longitude = address.longitude;
						console.log(_this.longitude, "123")


					},
					fail: (err) => {
						console.log(err)
					}
				})
			},
			Dzarr(longitude, latitude) {
				this.$http.post('api/map_address', {
					longitude: longitude,
					latitude: latitude
				}).then(res => {
					console.log(res, '****---');
					this.city = res.addressComponent.city
					this.init();
				})
			},
			init(type, sex) {
				let obj = {
					city: this.city,
					latitude: this.latitude,
					longitude: this.longitude,
					page: this.page,
					search: '',
					limit: 10,
					sex: sex,
					sort: type
				}
				if (this.value) {
					obj.realname = this.value
				}
				console.log(obj, "打印的obj")
				this.$http.post('api/index/technician/list', obj).then(res => {
					console.log(res, "dayinderes")
					/* let {
						list,
						total
					} = res; */
					for (var i = 0; i < res.length; i++) {

						this.dataList.push(res[i]);
					}

					/* this.total = total; */
					console.log(this.dataList, "打印的dataList")
					this.loading = false;
				})
			},
			changeCollect(id, collect) {
				this.$http.post('api/collect/collect', {
					technician_id: id
				}).then(res => {
					this.init()
					uni.showToast({
						icon: 'success',
						title: collect != 1 ? '收藏成功' : '取消成功'
					})
					uni.navigateBack();

				})
			},
			goPath(id) {
				uni.navigateTo({
					url: '/bundle/pages/techDeil/techDeil?id=' + id
				})
			},

			confirm() {
				this.page = 1;
				this.dataList = [];
				this.total = null;
				this.init();
			},
			goQualifications() {
				uni.navigateTo({
					url: '/pages/technician/qualifications'
				})
			},
			opencity() {
				uni.chooseLocation({
					success: (res) => {
						console.log(res)
						let reg = /.+?(省|市|镇|自治区|自治州|县|区)/g;
						let {
							longitude,
							latitude,
							address
						} = res;
						this.longitude = longitude
						this.latitude = latitude;
						let arr = address.match(reg);
						this.city = arr[1];
						uni.setStorageSync('address_info', {
							address,
							longitude,
							latitude,
							city: this.city
						});
						this.confirm();
					}
				})
			},
			toPath(item) {
				if (item.appointment_time == '休息中') {
					uni.showToast({
						title: '该达人正在休息中',
						icon: 'none'
					})
					return
				}
				let url = `/bundle/pages/home/home?id=${item.id}`;
				uni.navigateTo({
					url,
				})
			}
		},

		onPullDownRefresh() {
			let _self = this
			setTimeout(() => {
				uni.stopPullDownRefresh(); //停止当前页面下拉刷新
				this.page = 1;
				this.dataList = [];
				this.total = null;
				this.init();
			}, 1000);
		}
	};
</script>

<style scoped lang="scss">
	.page {
		padding-bottom: 338rpx;
		background-color: #f8f8f8;
		height: 100%;
		width: 100%;

		.no {
			padding-top: 300rpx;
		}

		.search_wrapper {
			display: flex;
			justify-content: space-between;
			/* padding: 20rpx 32rpx 20rpx; */
			background-color: white;

			.left {
				width: 50%;
				height: 100%;
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 32rpx;
			}

			.right {
				width: 50%;
				height: 100%;
				display: flex;
				justify-content: center;
				align-items: center;
				font-size: 32rpx;
			}

			.search {

				padding: 10rpx 24rpx;
				background-color: #f5f5f5;

				.image {
					width: 44rpx;
					height: 44rpx;
				}

				.text {
					color: black;
					font-size: 28rpx;
					line-height: 50rpx;
					white-space: nowrap;
				}

				.text_1 {
					margin-left: 24rpx;
					color: black;
					font-size: 28rpx;
					line-height: 40rpx;
					white-space: nowrap;
				}
			}
		}

		.section_1 {
			width: 100%;
			height: 350rpx;
			padding: 0 32rpx 250rpx;
			background-color: #f5f5f5;




			.group_1 {
				margin-top: 24rpx;
				color: black;
				font-size: 28rpx;
				line-height: 40rpx;
				white-space: nowrap;

				.group_3 {
					margin-left: 54rpx;

					.image_4 {
						margin-bottom: 4rpx;
						width: 28rpx;
						height: 34rpx;
					}

					.text_3 {
						margin-left: 14rpx;
					}
				}

				.image_3 {
					width: 40rpx;
					height: 40rpx;
				}

				.text_2 {
					margin-left: 8rpx;
				}
			}
		}

		.list {
			margin-top: -180rpx;
			padding: 0 32rpx;
			position: relative;

			.list-item {

				padding: 34rpx 0 30rpx 0;
				padding-left: 10rpx;
				background-color: rgb(255, 255, 255);
				border-radius: 24rpx;

				&:not(:first-of-type) {
					margin-bottom: 25rpx;
				}

				.left-section {
					padding-top: 140rpx;
					color: rgb(255, 255, 255);
					font-size: 24rpx;
					line-height: 34rpx;
					white-space: nowrap;
					border-radius: 50%;

					background-position: 0px 0px;
					background-size: cover;
					background-repeat: no-repeat;
					width: 140rpx;
					height: 140rpx;
					position: relative;

					.image_5 {
						width: 80rpx;
						height: 32rpx;
						position: absolute;
						right: 0;
						top: 0;
					}

					.text-wrapper {
						/* padding-bottom: 4rpx; */
						margin-top: 10rpx;
						background-color: #55D29A;
						border-radius: 18rpx;
						width: 128rpx;
						padding: 3rpx 0;
						/* position: relative; */
					}
				}

				.center-group {
					margin-left: 25rpx;
					flex: 1;

					.group_4 {
						color: rgb(0, 0, 0);
						font-size: 26rpx;
						font-weight: 500;
						line-height: 44rpx;
						white-space: nowrap;

						.text_5 {
							color: rgb(0, 0, 0);
							font-size: 32rpx;
							font-weight: 500;
							line-height: 44rpx;
							white-space: nowrap;
						}

						.text_6 {
							color: initial;
							font-size: initial;
							font-weight: initial;
							line-height: initial;
							white-space: initial;
						}

						.image_7 {
							margin: 4rpx 0 4rpx 8rpx;
							width: 90rpx;
							height: 36rpx;
						}
					}

					.group_5 {
						margin-top: 20rpx;
						color: rgb(153, 153, 153);
						font-size: 20rpx;
						/* line-height: 28rpx; */
						display: flex;
						align-items: center;
						color: #31d081;
						white-space: nowrap;

						.image_9 {
							width: 80rpx;
							height: 24rpx;
						}

						.image_11 {
							margin-left: 4rpx;
							width: 52rpx;
							height: 24rpx;
						}

						.text_7 {
							margin-left: 8rpx;
						}
					}

					.group_6 {
						margin-top: 14rpx;
						color: rgb(243, 151, 53);
						font-size: 24rpx;
						line-height: 34rpx;
						white-space: nowrap;

						.left-text-wrapper {
							padding: 2rpx 0 4rpx;
							background-color: rgba(243, 151, 53, 0.16);
							border-radius: 8rpx;
							height: 40rpx;

							.text_9 {
								margin-left: 12rpx;
								margin-right: 10rpx;
							}
						}

						.right-text-wrapper {
							margin-left: 8rpx;
							padding: 2rpx 10rpx 4rpx;
							background-color: rgba(243, 151, 53, 0.16);
							border-radius: 8rpx;
							height: 40rpx;
						}
					}

					.group_7 {
						margin-top: 25rpx;
						color: rgb(153, 153, 153);
						font-size: 26rpx;
						display: flex;
						align-items: center;
						/* line-height: 28rpx; */
						white-space: nowrap;

						.image_13 {
							width: 24rpx;
							height: 24rpx;
						}

						.text_12 {
							margin-left: 4rpx;
						}

						.text_13 {
							margin-left: initial;
						}

						.image_15 {
							margin-left: 12rpx;
							width: 24rpx;
							height: 24rpx;
						}

						.text_14 {
							margin-left: 5rpx;
						}

						.text_15 {
							/* margin-left: initial; */
						}

						.image_17 {
							margin-left: 12rpx;
							width: 24rpx;
							height: 24rpx;
						}

						.text_16 {
							margin-left: 5rpx;
						}

						.text_17 {
							/* margin-left: initial; */
						}
					}
				}

				.right-group {
					margin-left: 10rpx;
					margin-right: 24rpx;

					.top-text-wrapper {
						padding: 4rpx 10rpx 2rpx;
						color: rgb(24, 181, 103);
						font-size: 24rpx;
						line-height: 34rpx;
						white-space: nowrap;
						background-image: linear-gradient(111.2deg,
								rgba(53, 219, 160, 0.12) 0%,
								rgba(53, 219, 160, 0.12) -13.77%,
								rgba(24, 181, 103, 0.12) 111.69%,
								rgba(24, 181, 103, 0.12) 100%);
						border-radius: 6rpx;
					}

					.opacity-0 {
						opacity: 0;
					}

					.text_19 {
						margin-top: 10rpx;
						align-self: flex-end;
						color: rgb(153, 153, 153);
						font-size: 20rpx;
						line-height: 28rpx;
						white-space: nowrap;
					}

					.bottom-text-wrapper {
						align-self: flex-end;
						margin-left: 8rpx;
						margin-top: 20rpx;
						padding: 8rpx 0 6rpx;
						color: #31d081;
						font-size: 24rpx;
						line-height: 34rpx;
						white-space: nowrap;
						/* background-image: linear-gradient(116.3deg,
								rgb(53, 219, 160) 0%,
								rgb(53, 219, 160) -13.77%,
								rgb(24, 181, 103) 111.69%,
								rgb(24, 181, 103) 100%); */
						/* border: 1px solid #31d081; */
						background-color: #55D29A;
						border-radius: 5rpx;
						width: 180rpx;
						color: #fff;
					}

					.gayer {
						background: rgba(228, 228, 228, 1);
					}
				}
			}
		}
	}

	.pos {
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		background-color: rgba(0, 0, 0, .36);
		display: flex;
		align-items: center;
		justify-content: center;
		color: white;
		font-size: 28rpx;
		border-radius: 50%;
	}



	.popup {
		width: 100%;
		height: 60vh;
		padding: 20rpx;
		box-sizing: border-box;
		background-color: #f7f7f7;

		.popup-t {
			width: 100%;
			height: 200rpx;
			border-radius: 10rpx;
			border: 1px solid #55D29A;
			padding: 20rpx;
			box-sizing: border-box;
			display: flex;
			justify-content: space-between;
			background-color: #fff;

			.top-l {
				width: 17%;
				height: 100%;
				border-radius: 50%;

				image {
					width: 100%;
					height: 75%;
					border-radius: 50%;
				}
			}

			.top-r {
				width: 80%;
				height: 100%;
				font-size: 24rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-around;

				.top-h {
					display: flex;
					align-items: center;
				}

				.t-text-1 {
					font-size: 26rpx;
					font-weight: 700;
					margin-right: 10rpx;

				}

				.top-b {
					width: 100%;
					height: 50%;
					display: flex;
					justify-content: space-between;
					align-items: center;

					.c {
						display: flex;
						align-items: center;
					}
				}

			}
		}

		.popup-b {
			width: 100%;
			height: 600rpx;
			/* background-color: #31d081; */
			margin-top: 20rpx;
			overflow: scroll;

			.popup-box {
				width: 100%;
				height: 220rpx;
				padding: 20rpx;
				background-color: #fff;
				margin-top: 20rpx;
				box-sizing: border-box;
				display: flex;
				align-items: center;
				justify-content: space-between;
				border-radius: 20rpx;

				.box-l {
					width: 32%;
					height: 100%;
					border-radius: 20rpx;
					overflow: hidden;

					image {
						width: 100%;
						height: 100%;
						border-radius: 20rpx;
					}
				}

				.box-c {
					width: 45%;
					height: 100%;
					padding: 5rpx 0;
					display: flex;
					flex-direction: column;
					justify-content: space-between;

					.box-h {
						font-size: 26rpx;
						display: flex;
						align-items: center;
					}
				}

				.box-b {
					width: 20%;
					height: 60rpx;
					font-size: 24rpx;
					color: #fff;
					background-color: #55D29A;
					display: flex;
					justify-content: center;
					align-items: center;
					border-radius: 10rpx;
				}
			}
		}
	}

	.text-ger {
		background-color: #55D29A;
		color: #fff;
		border-radius: 10rpx;
		font-size: 24rpx;
		padding: 1rpx 5rpx;
		margin-left: 10rpx;
	}

	.text-name {
		font-weight: 700;
		font-family: "PingFang-SC-Bold";
	}

	.km {
		display: flex;
		align-items: center;
		margin-top: 20rpx;
		font-size: 24rpx;

	}

	.css {
		display: flex;
		align-items: center;
	}

	.top-box-c {
		margin-top: 10rpx;
		color: #999;
	}

	.warp {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}

	.rect {
		width: 100%;

		background-color: #333;

		image {
			width: 100%;
			height: 100%;
		}
	}

	.rect1 {
		width: 100%;
		display: flex;
		justify-content: center;
		/* height: 60%; */
		background-color: rgba(0, 0, 0, .05);

		image {
			width: 100%;
			height: 400px;
		}
	}

	.comment {
		width: 100%;
		height: 60vh;
		padding: 20rpx;
		box-sizing: border-box;
		background-color: #f7f7f7;

		.comment-t {
			padding: 20rpx;
			box-sizing: border-box;
			width: 100%;
			height: 150rpx;
			border: 1px solid #31d081;
			border-radius: 10rpx;
			background-color: #fff;
			display: flex;
			align-items: center;

			.icon {
				width: 100rpx;
				height: 100rpx;
				border-radius: 50%;

				image {
					width: 100%;
					height: 100%;
					border-radius: 50%;
				}
			}

			.icon-name {
				width: 80%;
				height: 100%;
				margin-left: 20rpx;
				font-family: "PingFang-SC-Medium";
				/* padding-top: 15rpx; */
				box-sizing: border-box;
				display: flex;
				flex-direction: column;

				/* justify-content: space-around; */
				.text-ico {
					font-size: 28rpx;
					font-weight: 700;
				}

				.text-ico1 {
					margin-top: 10rpx;
					font-size: 24rpx;
					color: #999;
				}
			}
		}

		.comment-c {
			width: 100%;
			height: 70rpx;
			padding: 0 20rpx;
			box-sizing: border-box;
			background-color: #fff;
			margin: 20rpx 0;
			border-radius: 15rpx;
			display: flex;
			justify-content: space-around;
			align-items: center;

			.c {
				width: 30%;
				display: flex;
				font-size: 24rpx;
				align-items: center;
			}
		}

		.comment-b {
			overflow: scroll;
			width: 100%;
			height: 450rpx;
			background-color: #fff;

			.c-box {
				width: 100%;
				height: 120rpx;
				/* background-color: #31d081; */
				display: flex;
				padding: 20rpx;
				box-sizing: border-box;
				justify-content: space-between;
				font-size: 28rpx;
				color: #999;
				border-bottom: 1rpx solid #f7f7f7;

				.box-l {
					display: flex;
					flex-direction: column;

					.box-l1 {
						display: flex;
					}
				}
			}

		}
	}

	.box {
		width: 100%;
		min-height: 150rpx;
		display: flex;
		justify-content: space-between;
		padding: 10rpx;
		/* border-bottom: 1rpx solid #999; */
		margin-bottom: 20rpx;

		.sbox-l {
			width: 25%;
			height: 100%;
			border-radius: 50%;
			position: relative;

			image {
				width: 140rpx;
				height: 140rpx;
				border-radius: 50%;
			}

			.status {
				padding: 5rpx 40rpx;
				position: absolute;
				left: 8rpx;
				bottom: -10rpx;
				border-radius: 20rpx;
				font-size: 24rpx;
				color: #fff;
				background-color: #31d081;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}

		.sbox-c {
			width: 60%;
			height: 100%;
			margin-left: 10rpx;
			display: flex;
			align-items: center;
			flex-direction: column;
			justify-content: space-around;

			.sbox-c1 {
				width: 100%;
				margin-left: 10rpx;
				display: flex;
				align-items: center;
				justify-content: flex-start;

				.text-1 {
					font-size: 32rpx;
					font-weight: 700;
				}

				.real {
					font-size: 24rpx;
					margin-left: 10rpx;
					background-color: #E7FCF5;
					color: #31d081;
					padding: 0 10rpx;
					border-radius: 20rpx;
				}

			}

			.rate {
				margin-top: 20rpx;
				width: 100%;
				display: flex;
				align-items: center;

				.text-2 {
					font-size: 24rpx;
				}
			}

		}

		.sbox-r {
			width: 25%;
			height: 100%;
			display: flex;
			justify-content: center;
			align-items: center;

			.text-3 {
				font-size: 24rpx;
				color: #999;
			}
		}


	}

	.introduce {
		width: 100%;
		border-top: 1rpx solid #f5f5f5;
		font-size: 24rpx;
		padding: 20rpx 20rpx 0 20rpx;
		box-sizing: border-box;
	}

	.donw {
		position: fixed;
		right: 10rpx;
		top: 40rpx;
	}
</style>